﻿<!doctype html>
<html>
<head>
<#include "/part_meta.ftl">
<title>离线版本管理-迈小众</title>
<link href="${st.resDomain}/css/style.css" rel="stylesheet">
<link href="${st.resDomain}/css/form-base.css" rel="stylesheet">
<link href="${st.resDomain}/css/MC-base.css" rel="stylesheet">
<link href="${st.resDomain}/css/MC.css" rel="stylesheet">
<style>
@keyframes progress-bar-stripes {
	0% {background-position: 40px 0px;}
	100% { background-position: 0px 0px;}
}

@-moz-keyframes progress-bar-stripes {/* Firefox */
	0% {background-position: 40px 0px;}
	100% { background-position: 0px 0px;}
}

@-webkit-keyframes progress-bar-stripes {/* Safari 和 Chrome */
	0% {background-position: 40px 0px;}
	100% { background-position: 0px 0px;}
}

@-o-keyframes progress-bar-stripes {/* Opera */
	0% {background-position: 40px 0px;}
	100% { background-position: 0px 0px;}
}
.progress {
	box-sizing: border-box;
    height: 28px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #F5F5F5;
    border-radius: 4px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1) inset;
}
.progress-bar {
    float: left;
    width: 0px;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #FFF;
    text-align: center;
    background-color: #337AB7;
    box-shadow: 0px -1px 0px rgba(0, 0, 0, 0.15) inset;
    transition: width 0.1s linear 0s;
}
.progress-bar-striped, .progress-striped .progress-bar {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}
.progress-bar.active, .progress.active .progress-bar {
    animation: 2s linear 0s normal none infinite running progress-bar-stripes;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0px, 0px, 0px, 0px);
    border: 0px none;
}
</style>
</head>

<body>
<!--- header --->
<div id="header">
  <div class="main f_clear">
  	<div class="logo"><h2><@shiro.principal property="s_name" /></h2><span>您好！<@shiro.principal property="m_name" />， <a href="${st.domain}/member/logoutDo">退出</a>&nbsp;&nbsp;&nbsp;[ <a href="${st.shopDomain}/localSale/v1.1" target="_blank">进行线下销售</a> ]</span></div>
    <div class="f_right"><a href="${st.userDomain}">个人中心</a> <a href="${st.shopDomain}" class="selected">店铺管理</a><@shiro.hasRole name="FIRM"><a href="${st.firmDomain}">企业管理</a></@shiro.hasRole></div>
  </div>
</div>
<!--- header end--->
<!--topnav -->
<div id="topnav">
  <div class="main">
    <ul class="left">      
      
      <li><a href="${st.shopDomain}/order/list?statuses=0">订单</a></li>
      <li class="selected"><a href="${st.shopDomain}/storeGoods/list">商品</a></li>
      <li><a href="${st.shopDomain}/memberVip">会员</a></li>
      <li><a href="${st.shopDomain}/store/edit">店铺</a></li>
      <li><a href="${st.shopDomain}/goodsReport">数据</a></li>
    </ul>
  </div>
</div>
<!--topnav end-->
<div id="main" class="f_clear">
  <div id="left">
    <ul id="menu1">
      <li><a href="${st.shopDomain}/storeGoods/list">店铺商品</a></li>
      <li><a href="${st.shopDomain}/store/onlineSetting">线上销售</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/goodsPromote/list?id.type=0">商品促销</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/storePromote/list?type=0">满额促销</a></li>
      <li><a href="${st.shopDomain}/store/localSetting">线下销售</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/goodsPromote/list?id.type=2">商品促销</a></li>
      <li style="margin-left:10px;"><a href="${st.shopDomain}/storePromote/list?type=2">满额促销</a></li>
      
      <li class="selected" style="margin-left:10px;"><a href="${st.shopDomain}/localSale/soft">离线版本</a></li>
      <li><a href="${st.shopDomain}/storeRestock/list?isChecked=0">进货管理</a></li>
      <li><a href="${st.shopDomain}/storeGoods/add">商品入库</a></li>
    </ul>
  </div>
  <div id="right">
    <div id="title">线下销售 - 离线版本</div>
    <div id="search" style="height:auto;padding-bottom: 50px;">
      <div id="uninstall" class="form">
      	  <p class="s">
	        <label>&nbsp;</label>
	        <span id="checkTip" style="color:red"></span>
	        <label>最新版本：ENV：</label>
	        <span><a href="${st.attaDomain}/download/setup.exe" target="_blank" style="color:blue">1.0.0.06201</a></span>
	        <label>&nbsp;</label>
	        <a onclick="alert('直接下载安装即可！');" style="color:blue">安装说明</a></span>
	      </p>
	  </div>
      <div id="install" class="form" style="display:none;">
      	  <p class="s">
      	  	<label><strong>版本信息：</strong></label>
	        <label>ENV：</label>
	        <span id="envVersion">无</span>
	        <span style="display:none;">（<a id="nenvVersion" href="${st.attaDomain}/download/setup.exe" target="_blank" style="color:blue">1.0.0.06201</a>）</span>
	        <span id="war" style="display:none;">
	        <label>WAR：</label>
	        <span id="warVersion">无</span>
	        <span style="display:none;">（<a id="nwarVersion" href="${st.attaDomain}/download/ROOT.war" target="_blank" style="color:blue">1.0.0.06201</a>）</span>
	        </span>
	        <label>&nbsp;</label>
	        <span><a onclick="alert('直接下载安装即可！文档后续提供');" style="color:blue">安装说明文档</a></span>
	      </p>
	      <p class="s">
	      	<label><strong>本地数据：</strong></label>
	        <span id="localStoreName"></span>
	        <label>同步时间：</label>
	        <span id="localSyncTime"></span>
	        <label>操作人：</label>
	        <span id="localSyncMember"></span>
	      </p>
	      <p></p>
	      <div id="prog" style="margin-left:50px;display:none;">
			<div style="padding-left:20px;"><i id="progText">正在同步...</i><i id="progPercent">0%</i></div>
			<div class="f_clear">
			   <div class="progress" style="width:650px;float:left;">
			      <div id="progBar" class="progress-bar progress-bar-striped active" style="width: 0%"><span class="sr-only">0% Complete</span></div>
			   </div>
			   <a id="syncCancelBt" class="btn1b" style="float:left;margin-left:5px;"><i></i><em>取消</em></a>
			</div>
		  </div>
	      <div id="sync" class="Submit f_clear">
		    <a id="syncBubmitBt" class="btn1"><i></i><em>提交</em></a>
		    <a id="syncUpdateBt" class="btn1"><i></i><em>更新</em></a>
		    <a id="syncSuUpBt" class="btn1"><i></i><em>提交并更新</em></a>
		    <a id="syncClUpBt" class="btn1"><i></i><em>清空并更新</em></a>
		  </div>
      </div>
    </div>
  </div>
</div>
<div id="hideData" style="display:none;">{"storeId": ${store.storeId},"storeName": "${store.name}", "memberName": "${member.realName!member.name}"}</div>
<!--footer-->
<div id="footer">Copyright© 迈小众 <span style="padding-left:30px;">客服QQ：<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=3101084438&site=qq&menu=yes" rel="nofollow"><img border="0" src="http://wpa.qq.com/pa?p=2:3101084438:50" alt="点击联系我们，QQ：3101084438" title="点击联系我们，QQ：3101084438"></a></span></div>
<!--footer end-->
<script data-main="${st.resDomain}/scripts/shop/localSale_soft" src="${st.resDomain}/scripts/require.js"></script>
</body>
</html>
